import request from "../utils/http.ts";

import {FoodVO} from "../type/food.ts";

export function getFoodsAPI(id:number) {
    return request<FoodVO[]>({
        url: `/food/getByBusinessId/${id}`,
        method: 'GET',
    })
}
